<?php

namespace Emoney\EpayBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Emoney\EpayBundle\Entity\tmpPayment
 *
 * @ORM\Table(name="tmp_payment")
 * @ORM\Entity(repositoryClass="Emoney\EpayBundle\Entity\tmpPaymentRepository")
 */
class TmpPayment
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string $ref
     *
     * @ORM\Column(name="ref", type="string", length=255)
     */
    private $ref;

    /**
     * @ORM\ManyToOne(targetEntity="PayementMode")
     * @ORM\JoinColumn(name="paymtmode_id", referencedColumnName="id")
     */
    
    protected $paymtmode;

    /**
     * @var text $sessionId
     *
     * @ORM\Column(name="sessionId", type="text")
     */
    private $sessionId;

    /**
     * @var string $cmdId
     *
     * @ORM\Column(name="cmdId", type="string", length=255)
     */
    private $cmdId;

    /**
     * @var string $montant
     *
     * @ORM\Column(name="montant", type="string", length=255)
     */
    private $montant;

    /**
     * @var string $phone
     *
     * @ORM\Column(name="phone", type="string", length=20)
     */
    private $phone;

    /**
     * @var string $userAgent
     *
     * @ORM\Column(name="userAgent", type="string", length=100)
     */
    private $userAgent;

    /**
     * @var integer $userID
     *
     * @ORM\Column(name="userID", type="integer")
     */
    private $userID;

    /**
     * @var boolean $status
     *
     * @ORM\Column(name="status", type="boolean")
     */
    private $status;

    /**
     * @var datetime $createdAt
     *
     * @ORM\Column(name="createdAt", type="datetime")
     */
    private $createdAt;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }
	
  
     /**
     * Set paymtmode
     *
     * @param text $paymtmode
     */
    public function setPaymtmode($paymtmode)
    {
        $this->paymtmode = $paymtmode;
    }
    /**
     * Get paymtmode
     *
     * @return integer 
     */
    public function getPaymtmode()
    {
        return $this->paymtmode;
    }
	

    /**
     * Set sessionId
     *
     * @param text $sessionId
     */
    public function setSessionId($sessionId)
    {
        $this->sessionId = $sessionId;
    }

    /**
     * Get sessionId
     *
     * @return text 
     */
    public function getSessionId()
    {
        return $this->sessionId;
    }

    /**
     * Set cmdId
     *
     * @param string $cmdId
     */
    public function setCmdId($cmdId)
    {
        $this->cmdId = $cmdId;
    }

    /**
     * Get cmdId
     *
     * @return string 
     */
    public function getCmdId()
    {
        return $this->cmdId;
    }

    /**
     * Set montant
     *
     * @param string $montant
     */
    public function setMontant($montant)
    {
        $this->montant = $montant;
    }

    /**
     * Get montant
     *
     * @return string 
     */
    public function getMontant()
    {
        return $this->montant;
    }

    /**
     * Set phone
     *
     * @param string $phone
     */
    public function setPhone($phone)
    {
        $this->phone = $phone;
    }

    /**
     * Get phone
     *
     * @return string 
     */
    public function getPhone()
    {
        return $this->phone;
    }

    /**
     * Set userAgent
     *
     * @param string $userAgent
     */
    public function setUserAgent($userAgent)
    {
        $this->userAgent = $userAgent;
    }

    /**
     * Get userAgent
     *
     * @return string 
     */
    public function getUserAgent()
    {
        return $this->userAgent;
    }

    /**
     * Set userID
     *
     * @param integer $userID
     */
    public function setUserID($userID)
    {
        $this->userID = $userID;
    }

    /**
     * Get userID
     *
     * @return integer 
     */
    public function getUserID()
    {
        return $this->userID;
    }

    /**
     * Set status
     *
     * @param boolean $status
     */
    public function setStatus($status)
    {
        $this->status = $status;
    }

    /**
     * Get status
     *
     * @return boolean 
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * Set createdAt
     *
     * @param datetime $createdAt
     */
    public function setCreatedAt($createdAt)
    {
        $this->createdAt = $createdAt;
    }

    /**
     * Get createdAt
     *
     * @return datetime 
     */
    public function getCreatedAt()
    {
        return $this->createdAt;
    }

    /**
     * Set ref
     *
     * @param string $ref
     */
    public function setRef($ref)
    {
        $this->ref = $ref;
    }

    /**
     * Get ref
     *
     * @return string 
     */
    public function getRef()
    {
        return $this->ref;
    }
}